home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / misc-part1 / 123 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: midland.co.nz!usenet
  2. From: jsev@midland.co.nz (John Severinsen)
  3. Newsgroups: comp.sys.amiga.misc
  4. Subject: Re: Help!
  5. Date: 1 Jan 1996 23:35:31 GMT
  6. Organization: Midland Internet Limited, Network Services
  7. Message-ID: <1247.6574T791T311@midland.co.nz>
  8. References: <4c56s2$7lu@azure.acsu.buffalo.edu>
  9. NNTP-Posting-Host: jsev.midland.co.nz
  10. X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
  11.  
  12. On 31-Dec-95, Richard wrote:
  13.  
  14. >I recently decided to sit down and learn ARexx. As I went through the
  15. >manual writing some sample programs, I found the output distressing.
  16. >I wrote a simple calculation program which would produce the squares and
  17. >cubes of the numbers 1-10. The square of 1 would appear to be 2, the
  18. >square of 3 seems to equal 19; while the cube equals 29. There are more
  19. >errors (square of 6=319) but I won't bore you with the details. I used
  20. >the following program: do i=1 to 10
  21. >                       say i i**2 i**3
  22. >                       end
  23. >I'm using an A1200 w/ a GVP 1230+ accelerator and a 68882 FPU. Anyone
  24. >have any ideas why I get such garbage??
  25.  
  26.  
  27. I just tried that simple 4 line proggy here and got the correct results (rules
  28. out a program logic problem).  Maybe the RX programme is corrupt or maybe
  29. theres a hardware fault somewhere?  Any one else got any ideas?
  30.  
  31.  
  32.  
  33.  
  34.  
  35. ---
  36.     /// *           |One Ring to rule them all, One Ring to find them
  37.  __/// **           |One Ring to bring them all and in the darkness bind them
  38.  \XX/ * *miga       |In the land of Mordor where Shadows lie
  39.                     |
  40.  John Severinsen    |- J.R.R. Tolkien
  41.  jsev@midland.co.nz |
  42. ---
  43.  
  44. Power Corrupts.  Absolute power is kinda neat
  45.  
  46.